import os
from enum import Enum, IntEnum

import pygame as pg

TILE_SIZE = 32
SCREEN_WIDTH = 1280
SCREEN_HEIGHT = 800
pg.init()
PG = pg

PG_SCREEN = pg.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
BASE_PATH = os.path.dirname(__file__)


class PGLayers(IntEnum):
    ground = 1
    wall = 2
    main = 3


class PGGroup(IntEnum):
    display = 0
    update = 1
    player = 2
    enemy = 3
    damage = 4
    collision = 5
    player_attack = 6
    enemy_attack = 7


class PGStaticPos(Enum):
    arm = 30, SCREEN_HEIGHT
    skill = 70, SCREEN_HEIGHT


class PGLevel(Enum):
    level1 = "background.png"
